package com.sctvcloud.bazhong.ui.adapter.holder;

import android.content.Context;
import android.view.View;

import com.ruihang.generalibrary.ui.adapter.holder.BaseRecylerHolder;
import com.sctvcloud.bazhong.ui.util.IListShowData;

/**
 * Created by yuxipan on 2017-01-06.
 */

public class BaseSearchReultHolder<T extends IListShowData> extends BaseRecylerHolder<T>{
    public static final int ITEMMODE_FIRST=-10;
    public static final int ITEMMODE_LAST=-11;
    public static final int ITEMMODE_NORMAL=0;
    public BaseSearchReultHolder(Context context, View itemView) {
        super(context, itemView);
    }

    @Override
    public void setData(T t) {

    }

    /**
     * 设置条目类型,可用于通知此holder是最前一个或最后一个等
     * @param mode
     */
    public void setItemMode(int mode){}
}
